Dynamic generation of target files from template files and tracking of the processing of target files

ABSTRACT

Target file generation systems and methods are described, which are optionally for use by ordinary computer users enable those users to readily generate target files without the requirement that they know the internal layout structures of the target files. A user is enabled to select a template file from a plurality of template files via a user interface configured to be displayed on a computer display to the user, wherein the template files include changeable fields associated with corresponding field delimiters and prompting labels. An incomplete software program file containing variable name locations is accessed from memory. The program file is parsed to locate the variable name locations. The label names obtained from the template file selected by the user are inserted into the variable name locations to further complete the software program file. The software program file is stored in computer memory.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation in part of U.S. patent applicationSer. No. 12/013,223, filed Jan. 11, 2008, which is a continuation ofU.S. patent application Ser. No. 11/006,268, filed Dec. 7, 2004, nowU.S. Pat. No. 7,320,007, which claims priority from U.S. provisionalpatent application Ser. No. 60/529,376 filed Dec. 12, 2003, the entirecontents of which are incorporated herein by reference.

STATEMENT REGARDING FEDERALLY SPONSORED R&D

Not applicable.

PARTIES OF JOINT RESEARCH AGREEMENT

Not applicable.

REFERENCE TO SEQUENCE LISTING, TABLE, OR COMPUTER PROGRAM LISTING

Not applicable.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates in general to systems and methods for theuse of template files, and in particular, to methods and systems forgenerating target file resources of a computer operating system platformfrom the template files.

2. Description of the Related Art

For any new file resource that is to be a text file, referred here asthe target file, that requires changes only for a relatively smallernumber of fields, referred here as changeable fields, over a period oftime after its creation and that its unchangeable lines and unchangeablefields are known beforehand

Many operating system commands and individual application programs thatrun on various computers create the initial versions of new target filesas empty files. Examples of such operating systems programs orapplication programs include but not limited to text editor program,word processing program, spreadsheet program, and database interfaceprogram. The conventional approach is that users of these programs needto manually expand the initial versions of the target files. Manyoperating systems on various computers allow users to invoke operatingsystem commands and individual programs to process target files thatthey wish to expand or modify. These operating systems may also allowthe user to initiate the execution of various background or systemfunctions to process target files, some of which are quite complex instructures but contain many repetitive unchangeable fields. The tasks ofprocessing these target files are mostly assigned to experiencedtechnical professionals who know the inner structures of the files indetails. A shortcoming of the conventional approach is that experiencedbusiness non-technical professionals who know the business functions ofthe programs are kept from directly processing the target files. Fortarget files that are of the text file type, it would be useful toprovide template files that contain the known repetitive changeablefields and to provide systems and methods to parse the template filesfor changeable fields and then dynamically generate dialog frame windowsthat prompt users, technical or non-technical, to enter input for thechangeable fields. This approach saves the complex details of thestructures of the target files from the business non-technical users andallows them to directly processing the target files. For target filesthat are not the text file type, it would be useful to provide to usersan option that copies previously created template files to the targetfiles.

Another shortcoming of the conventional approach is that manuallyexpanding empty target files to versions of complex structures tend tobe error-prone, even for experienced technical professionals. Moreoverif a creator invoked operating systems programs or application programsto create and process too many target files without proper tracking (orlogging) the activities, the creator may loose track of the folders (ordirectories) that store them and the purposes of processing them.

SUMMARY OF THE INVENTION

In light of the foregoing limitations of the conventional approach ofmanually expanding empty target files and losing track of the activitiesof processing them, it would be useful to have an easy and largelyautomatic way to process target files that includes dynamicallygenerating target files from template files and by tracking theprocessing of the target files for future references. For example,certain embodiments of the present invention may optionally be used toenhance the AutoGenMenu Program (“AGM Program”) and the ActivityTracking Program (“AT Program”) of a User-Driven Menu Generation System(UDMGS) that tracks the processing of files. An example of a UDMGS isdescribed in U.S. Pat. No. 7,320,007, the content of which isincorporated herein in its entirety.

To overcome the one or more of the forgoing limitations, there isprovided, in accordance with a first aspect of one or more exampleembodiments, a system with dynamic generation of target files fromtemplate files for use by ordinary computer users. The system maycomprise a program operable by an ordinary computer user and collectionsof template files and menu configuration files editable by systemmanagement personnel. This main program preferably includes a fewdifferent components, which may be written as parts of one largeprogram, or may be subprograms or modules or routines or objects calledby the main program. These components will now be briefly summarized.

The first component is operable by an ordinary computer user to select afolder or directory location where the new target file will reside andto select an operating system command or application program that willprocess this new target file. The component also offers the user anoption to select a data repository such as but not limited to a file ora database table that tracts globally the user's activities of invokingoperating system commands or application programs to process targetfiles across the global folder structure or directory structure. Thecomponent also passes, in the background, the user-selected informationto the other components.

The second component is operable by an ordinary user to receiveprompting message from and enter data to a dynamically generatedinformation exchange user interface such as but not limited to a dialogframe window on selecting a template file for a target file. For a newtarget file that is a text file and that is of a certain file typecategory, the component enables the users to readily create the initialversion of the new target file from a template file that is selected bya user among previously created template files. For a target file to beof this category, only a relatively smaller number of fields in itscontent require changes over a period of time after its creation and theremaining unchangeable lines and unchangeable fields are knownbeforehand. For a new target file that is not a text file, the componentenables the user to readily copy a previously created anduser-selectable template file to the target file.

The third component is operable by an ordinary user to enter data forthe changeable fields in the user-selected template file for a newtarget file that is a text file without knowing the internal structuresof the template file and the target file. This component specifies arule that identifies changeable fields, along with other rules specifiedby the conventions of the operating system command or applicationprogram that is to process the target file on the standard structure ofthe target file, on the layout of the internal structure of a templatefile. The component dynamically parses the internal structure of atemplate file created under these rules and extracts the identificationsof the changeable fields and use these identifications as promptinglabels to dynamically generate an information exchange user interfacesuch as but not limited to a dialog frame window to prompt for andreceive the inputs of a user for the data (fill-in values) of thechangeable fields in the template file. The component, in thebackground, completes the task of generating the new target file byfilling the changeable field locations with the fill-in values providedby the user.

The fourth component is operable by an ordinary user to readily includethe invocations of operating system commands or application programs toprocess a new target file as new menu items in a user selected menu. Thecomponent also provides a graphics user interface to start theAutoGenMenu Program of the UDMGS system that displays menus selected bya user and invokes programs associated with menu items selected by auser. In addition the component also provides a graphic user interfacefor the Merge Program of the UDMGS system that merges any pair ofuser-selected folders or directories that contain target files or menusof similar functions such as but not limited to similar folders ordirectories created by co-workers that are deemed to be suitablecandidates to be merged. The fourth component is also operable by anordinary user to readily track the processing of newly generated targetfiles by user-selected operating system commands or application programsin activity summary files for future references. The component alsoprovides a graphics user interface for the Search Program of the UDMGSsystem to search for any number of character strings in the activitysummary files for future references such as but not limited to servingas data repository for string searches.

In the target file generation system of an example embodiment, the thirdcomponent is preferably operable to access at least a plurality ofstored in the storage locations. These files preferably include templatefiles stored in a designated folder or directory, at least one commandmap file and at least one menu configuration file. The template filesare supposed to be created by personnel skilled in the internalstructures of their layouts, such as but not limited to systemmanagement personnel, by following the rule of the structural layoutspecified by the system for this embodiment on the identification ofchangeable fields and by following the conventions of the operatingsystem commands or application programs that are to process the targetfiles on their structural layouts. The command map file is organized tostore a plurality of operating system commands or application programsand a set of aliases used as a shortcut technique for referencingcertain ones of the operating system commands or application programs.The menu configuration file is organized to store data that is a part ofthe process of creating and displaying a menu. These and other aspectsof example embodiments may be further understood by referring to thedetailed description below, accompanying Figures, and appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates the system diagram for the systems and methods of theembodiment.

FIG. 2 illustrates the screen image displayed by the Graphics UserInterface Program for the systems and methods of an example embodiment.

FIG. 3 illustrates an opened file dialog window if a user clicks theFile menu on the menu bar on FIG. 2 and then clicks the menu item: Open.

FIG. 4A-B is a flow chart that illustrates the steps of the ActivityTracking with Menu Program. This program enhances the Activity TrackingProgram (AT Program) of the UDMGS system. The program starts thetracking of the processing of a file resource by an application program.

FIG. 5A-C is a flow chart that illustrates the steps of the Check FileType Program. This program performs tasks or calls other modules ingenerating target files from template files and invokes a user-selectedapplication program to process the new target file.

FIG. 6A-C is a flow chart that illustrates the steps of the createPromptmodule. This module receives from the calling program or calling moduleprompting information that if will use to create a program that displaysa dialog window to prompt for and to collect inputs from a user.

FIG. 7A-B is a flow chart that illustrates the steps of the DynamicDialog Frame Program. The program generates a dialog frame window on anoperating system platform that supports graphics. The dialog frameprompts a user to enter values for its text field objects.

FIG. 8 illustrates the screen image of a dialog frame window created byexecuting a Dynamic Dialog Frame Program for the purpose of promptingfor and collecting user input for menu related information andoptionally for the name of a template file.

FIG. 9A-B is a flow chart that illustrates the steps of the getKeyValuesmodule. The module extracts filed variable names (or identifications)from the placeholders in a template file.

FIG. 10A-C is a flow chart that illustrates the steps of the createFilemodule. The module performs the task of generating the target file froma template file and from input data entered by a user on a dynamicallygenerated dialog frame window.

FIG. 11 illustrates the screen image of a dialog frame window created byexecuting a Dynamic Dialog Frame Program that is generated from usingthe extracted field names from the placeholders in an XML based templatefile as labels in the dialog frame window.

FIG. 12 is a flow chart that illustrates the steps of thecreateBlankFile module. The module creates an empty new target file, ofwhich the file type is in the category of certain file types, to dropthe warning messages for some application programs if the target filesthat they are to process do not exist.

FIG. 13 illustrates the menu items if a user clicks on the View menu atbox 51 of FIG. 2 or box 1000 of FIG. 13.

FIG. 14 illustrates a Database Object Modeling Diagram that guides adesign and implementation of a database that contains local activitysummary tables and global activity summary tables. This is the case thatif a Relational Database is used instead of files to store data forlocal activity summary and for global activity summary.

FIG. 15 describes the drop down menu when a user clicks on the Toolsmenu on the menu bar at 52 of FIG. 2 and at 1200 of FIG. 15.

FIG. 16 illustrates further example system components and process flows.

FIGS. 17A and 17B illustrate an example batch mode process.

FIG. 18 illustrates an example process utilizing search results withrespect to a target file.

FIG. 19 illustrates an example template file and an example generatedtarget file.

FIG. 20 illustrates an example sequence diagram.

FIGS. 21A, 21B, 22 illustrate example processes related to replacingchangeable fields with corresponding field variable names.

FIG. 23 illustrates another example template file and another examplegenerated target file.

FIGS. 24, 25, 26A, 26B, 27, 28, 29, 30A, 30B, 31A, 31B, 32A, 32B, and33, illustrate a variety of user interfaces, including those used toreceive data and specifications from a user, and output user interface.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The systems and methods of example embodiments of the present inventionare illustrated and described herein in connection with certainembodiments, with the perception that the present disclosure is to beregarded as an exemplification of the various aspects and principles ofthe present invention and the associated example functionalspecifications utilized for their implementation. However, it should beappreciated that the systems and methods may be implemented in stilldifferent configurations, forms and variations, using otherspecifications, based on the understandings herein.

The example systems and methods typically may be used with and operateon and/or within an ordinary user's computer system. The examples ofsuch computer systems are desktop computer, laptop or notebook computer,and/or computer workstation, whether used in a standalone fashion or aspart of larger computer network that is required by the processingoperating system or application program. The computer systems may beinstalled with any suitable operating system (OS), such as but notlimited to Unix, Linux, Microsoft (MS) Windows or MS-DOS, Apple DOS, andthe MAC OS for the Apple computer platforms. The example systems andmethods may also be used in suitably personal digital assistants (PDA)or other computerized personal devices, including communication devices,such as digital cell phones, and computerized data collection devices,such as handheld data input devices including mobile logging of data,such as those used in various industries. Such portable PDA devicesemploy their own “light-weight” operating systems such as but notlimited to the Palm OS from Palm Inc., Windows CE from Microsoft, andthe Symbian OS designed for “mobile/wireless information devices” suchas small, portable computer-based telephones, which are now providingwith wireless access to phone and other information services, includingshort message services (SMS). The example systems and methods may alsobe used in software environments that operating broadband services andConsumer/Solar and Heliospheric Observatory (SOHO) satellite services.

In most current popular computer operating system platforms, such asUNIX/Linux or Microsoft Windows platforms, there are plenty examples oftarget files of the text file type that can be generated from suitabletemplate files. Such examples include but not limited to WML (WirelessMarkup Language) text files whose file names end with .wml and XML(Extensible Markup Language) text files whose file names end with .xml.Most commonly used WML files and XML files of various sizes contain manystatic tag name fields and static attribute name fields that stayunchanged. These files contain relatively smaller number of fields suchas but not limited to data associated with the name values and attributevalues that may require changes over a period of time. An optionalbenefit of certain of the example systems and methods is that itincreases the productivities of ordinary users by many folds with itscapability of dynamically generating WML and XML documents and therebysaving the manual efforts of the users. The capability involves withusing templates with placeholders for the changeable fields. Byextracting information of the placeholders, it dynamically prompts usersto enter values for the changeable fields and then generates the targetdocument.

The use of WML in wireless applications under the standard WirelessApplication Protocol (WAP) is very similar to the use of ExtensibleHypertext Markup Language (XHTML) for world wide web (WWW) applications.Wireless applications developed with WML are being deployed for wirelessphones and PDA's. Certain example systems and methods dynamically updatea new WML file with a template file and dialog windows, which are alsodynamically generated. The function of a dialog window is to displayrelatively smaller number of but sufficient prompt messages that promptusers to enter either needed information for the WML file or data forthe changeable fields in the template file. The systems and methods saveordinary users from reading through complex WML tag names to search forchangeable fields in order to enter needed information or data.

XML is an emerging Internet standard that provides functionalities ofthose of the HTML and much more, for example, the functionalities thatsupport Business-to-Business (B2B) Internet applications with databasedata wrapped by XML tags suitable for transmissions over the Internet.Certain example systems and methods dynamically update a new XML filewith a template file and dialog windows, which are also dynamicallygenerated. The function of a dialog window is similar to that for WMLfiles described previously. That is, it is to display relatively smallernumber of but sufficient prompt messages that prompt users to entereither needed information for the XML file or data for the changeablefields in the template file. The systems and methods save ordinary usersfrom reading through complex XML tag names to search for changeablefields in order to enter needed information or data.

The example systems and methods include several programs or componentsof programs. It may be viewed as one large program with several smallercomponents depending upon how structured such component may run in alargely autonomous manner or may be more closely coupled or integratedwith the other components.

FIG. 1 illustrates the system diagram for the computer environment inwhich the following four programs and four modules will be run. They areGraphics User Interface Program (box 14), Activity Tracking with MenuProgram (box 16), Check File Type Program (box 18), Dynamic Dialog FrameProgram (box 15), createFile module (box 20), getKeyValues module (box22), createPrompt module (box 24), and createBlankFile module (box 30).These four programs and four modules implement the components of thesystems and methods in the example embodiment.

FIG. 2 illustrates the main screen displayed by the Graphics UsersInterface Program (GUI Program). The GUI Program displays four menus:File (box 50), View (box 51), Tools (box 52), and Help (box 53) in themenu bar. It also displays four text boxes for command name (box 54),folder path (box 55), target file name (box 58), and name of globalactivity summary (logging) file (box 56) that accept users' input. Inaddition the GUI Program reads the list of names of operating systemcommands and application programs from a configuration file (box 34 inFIG. 1) and displays a drop down box (box 57) containing these names. Ifa user selects a program name from this drop down box, then the GUIProgram displays the name in the command name box on box 54. The GUIProgram also reads the list of names of global activity summary filesfrom the same configuration file (box 34 in FIG. 1) and displays a dropdown box (box 59) containing these names. If a user selects a name of aglobal activity summary file from this drop down box, then the GUIProgram displays the name in the global activity summary box on box 56.The File menu in box 50 contains but not limited to the menu item: Open.If a user wants to select a target file to be processed by a command,the user can click on the File menu and click the Open menu item tobring up a File Dialog Window, which is depicted in FIG. 3 whosedescription is followed next.

FIG. 3 illustrates the File Dialog Window. A user may select a folder(directory) in which to create a new target file or select an existingtarget file. Box 65 displays the path name of the folder. Box 66displays the sorted list of all the files and subfolders(subdirectories) of the selected folder. If the user wants to create anew target file, then the user types in the name of the target file inbox 67. If the user wants to select an existing target file in the listdisplayed in box 66 to process, then the user clicks the name of thetarget file to get it displayed in box 67. After the user fills the box67 with the name of the target file, then the user clicks the Openbutton to confirm to the GUI Program of the selection the target filename. The GUI Program then fills the box of the target file name, box 58of FIG. 2, with the user selected target file name. The user next fillsthe box 54 of FIG. 2 with the name of the program that is to process thetarget file. If the user wants to track (log) the processing of thetarget file, then the user also fills the box 56 of FIG. 2 with the nameof a global activity summary file. For a more comprehensive coverage,for the rest of this document, it is assumed that box 56 of FIG. 2 isfilled with the name of a global activity summary file because themethods for the case of not tracking the processing of the target filesform a subset of the methods for the case of tracking the processing ofthe target files. After the user clicks the OK button in box 60 of FIG.2, the GUI Program starts the Activity Tracking with Menu Program, whichis depicted in FIG. 4 whose description is followed next.

FIG. 4, comprised of FIG. 4A and FIG. 4B, illustrates the ActivityTracking with Menu Program (ATWM Program). This program enhances theActivity Tracking Program (AT Program) of the UDMGS system. At block105, the ATWM Program receives from the GUI Program the name of thetarget file, the name of the command (program) that is to process thetarget file, and the name of the global activity summary file. Theprocessing of the target file includes but not limited to creation, orediting, or viewing. At block 110, it calls the Check File Type Program.If the target file is an existing file, the Check File Type Programinvokes the corresponding command to process it. After the call to theCheck File Type Program is returned, in blocks 115 to 180 the ATWMProgram invokes a component of the AT program to log the processing ofthe target file to the local activity summary file and the globalactivity summary file; or local activity summary table and globalactivity summary table if Relational Database Management System (RDBMS)is used. For each target file the folder that contains it corresponds toexactly one local activity summary file (or local activity summarytable). As is shown in boxes 56 and 59 of FIG. 2, there are many globalactivity summary files (or global activity summary tables.) An objectdata model that prescribes the rules of the design and implementation oflocal activity summary tables and global activity summary tables inRDBMS will be described in FIG. 14. The description of how the CheckFile Type Program handles the case that the target file is new isfollowed next.

FIG. 5 illustrates the Check File Type Program (CFT Program). At block202, the CFT program receives the name of the target file and the nameof the command from the ATWM Program. At block 204, it determineswhether the target file exists or note. If the target file exists, atblock 234 the CFT Program invokes the command to process the file. Ifthe target file is a new file and thus does not exist, at block 206 theCFT Program initializes a variable key array containing variable pseudonames that are to be used by the createPrompt module to prompt andreceive values of the variables from a user. As is illustrated in block208, the CFT Program initializes the variable key array with pseudonames for menu file name, menu item name, item link (reference) name,and template file name. At block 210, it calls the createPrompt moduleto prompt and receive values of the variables from a user. The valuesare stored in a global variable named varData as a concatenated stringwith substrings separated by the semicolon character. At block 212, theCFT Program retrieves the string values of the menu file name, menu itemname, item link name, and template file name from the variable varData.At block 214, the CFT Program appends a line that consists of string ofthe name of the menu item, the string of the name of the processingcommand concatenated with the string of the target file name as itsargument, and the string of the link name to the end of the MenuConfiguration file.

At block 216, the CFT Program determines whether the template fileexists and is a text file. If the template file does not exist or is nota text file, at block 228 it checks whether the template file exists andis not a text file. If yes, then it copies the template file to thetarget file at block 230 and invokes the command to process the targetfile at block 234. If no, which implies that the template file does notexist, at block 232 it calls the createBlankFile Module to optionallycopy a suitable default file to the target file and invokes the commandto process the target file at block 234. Depending on the type of thetarget file, examples of the default file include but not limited toempty word processing file, spreadsheet file, and presentation file. Ifthe template file exists and is a text file, at block 218 the CFTProgram extracts the file type from the template file name. At block220, the CFT Program calls the createFile module to create the targetfile from a modified version of the template file with its placeholdersreplaced by values given by a user. At block 222, the CFT Program checkswhether the target file is of the type XML and the target file containsa reference to XSL. If it is not the case, at block 234 the CFT Programinvokes the command to process the target file. If it is the case, atblock 224 it extracts the name of the referenced XSL file from thecontent of the target file. At block 225, it copies the XSL file overfrom a predetermined default folder that contains the XSL file. At block226, the CFT Program prepares a menu item line to view this XML filefrom a web browser. At block 227 it appends this menu item line to themenu file identified at block 212. At block 234, the CFT Program invokesthe command to process this XML file. After considering all cases, atblock 236 the CFT Program checks whether the target file is a WML file.If it is, at block 238 the CFT Program copies the target file to thevirtual document directory of the web server to be viewed by wirelessdevices and returns to the calling ATWM Program. If it is not, the CFTProgram returns directly to the calling ATWM Program.

In the ATWM Program, after the call to the CFT Program is returned forthe case that the target file is new, in blocks 115 to 180 the ATWMProgram invokes a component of the AT program to log the processing ofthe target file to the local activity summary file and the globalactivity summary file; or local activity summary table and globalactivity summary table if Database Management System (DBMS) is used

As was described previously the first module that the CFT Program callsis the createPromt module if the target file does not exist. FIG. 6,comprised of FIG. 6A, FIG. 6B, and FIG. 6C illustrates the createPromptmodule. The cratePrompt module receives from the calling program ormodule a variable key array that it will use to create a program thatdisplays a dialog window to prompt a user to enter inputs for thevariables identified in the variable key array. Examples of suchvariable key arrays include but not limited to that described in block208 of FIG. 5. In this case, the variable key array is initialized inthe CFT Program with pseudo names for menu file name, menu item name,item link name, and template file name. An optional array element thatrepresents a pseudo name such as “only copying template file” indicatingwhether the template file should be directly copied to the target fileor not may be added to the end of the variable key array. ThecreatePrompt module creates a program that will display a dialog windowto prompt a user to enter input values for menu file name, menu itemname, item link name, and template file name. In general, at block 302,the createPrompt module opens the Dialog Frame Pseudo Program file forinput. As is described in block 304, the Dialog Frame Pseudo Program isan incomplete software program containing placeholders for variablenames, number of window panels, and height of window frame,respectively. Examples of programming languages that can be used toimplement the software program include but not limited to Java, C#, orC++. An example, implemented in Java, for a line that containsplaceholders for variable names is

String label#varName#Str=“#varName#”.replace(‘_’, ‘ ’);

where #varName# is the placeholder for variable name. At block 306, thecreatePrompt module opens the Dynamic Dialog Frame Program file foroutput. As is described in block 308, if the Dynamic Dialog FrameProgram file exists, then it will be overwritten. An execution of theresulting Dynamic Dialog Frame Program will display a dialog window toprompt users for inputs and to collect them and return them to thecalling module. At block 310, the createPrompt module calculates thevalue of the len variable as the size of the variable key array plus 1(counting the OK button object at the bottom of the dialog frame). Atblock 312, it calculates value of the height variable as the product ofthe len variable with a preset height for a dialog panel.

From block 314 to block 332, the createPrompt module contains a programloop that reads the file of the Dialog Frame Pseudo Program line byline, makes changes to each line if necessary or makes no change, andappends the changed or unchanged line to the file of the Dynamic DialogFrame Program. At block 314, the createPrompt module reads the firstline of the Dialog Frame Pseudo Program. At block 316, it checks whetherthe end of the Dialog Frame Pseudo Program file is reached. If yes, thenat block 334 it invokes the compiler command from the operating systemplatform to compile and link the Dynamic Dialog Frame Program file to anexecutable program file. If no, then at block 318, the createPromptmodule checks whether the input line from file of the Dialog FramePseudo Program contains placeholders for the variable name. If the inputline contains one, then at block 320 the createPrompt module replacesthe placeholders by the corresponding value of the element of thevariable key array and appends the new lines to the Dynamic Dialog FrameProgram file, and at block 332 it reads the next line of the DialogFrame Pseudo Program file and returns to block 316 for the nextiteration in the loop. As was described earlier, an example, implementedin Java, for a line that contains placeholders for variable names is

String label#varName#Str=“#varName#”.replace(‘_’, ‘ ’);

where #varName# is the placeholder for variable name. Examples of thenew lines resulted from replacing the placeholders by correspondingvalue of the element of the variable key array are

String labelMenu_File_NameStr=“Menu_File_Name”.replace(‘_’, ‘ ’);

String labelMenu_Item_NameStr=“Menu_Item_Name”.replace(‘_’, ‘ ’);

String labelLink_NameStr=“Link_Name”.replace(‘_’, ‘ ’);

String labelTemplate_File_NameStr=“Template_File_Name”.replace(‘_’, ‘ ’)

StringlabelOnly_Copying_Template_FileStr=“Only_Copying_Template_File”.replace(‘_’,‘ ’)

If the input line contains no placeholder for the variable name, atblock 322 the createPrompt module checks whether the line contains aplaceholder for the number of window panels. If the input line containsone, then at block 324 the createPrompt module replaces the placeholderby the value of the len variable and appends the new line to the DynamicDialog Frame Program file, and at block 332 it reads the next line ofthe Dialog Frame Pseudo Program file and returns to block 316 for thenext iteration in the loop. An example, implemented in Java, for a linethat contains a placeholder for the number of window panels is

container.setLayout(new GridLayout(#varCount#, 1));

where #varCount# is the placeholder for the number of window panels. Anexample of the new line resulted from replacing the placeholder by thevalue of the len variable is

container.setLayout(new GridLayout(6, 1));

If the input line contains no placeholder for the number of windowpanels, at block 326 the createPrompt module checks whether the linecontains a placeholder for the height of the window frame. If the inputline contains one, then at block 328 the createPrompt module replacesthe placeholder by the value of the height variable and appends the newline to the Dynamic Dialog Frame Program file, and at block 332 it readsthe next line of the Dialog Frame Pseudo Program file and returns toblock 316 for the next iteration in the loop. An example, implemented inJava, for a line that contains a placeholder for the height of thewindow frame is

setSize(350, #1stHeight#);

where #1stHeight# is the placeholder for the height of the window frame.An example of the new line resulted from replacing the placeholder bythe value of the height variable is

setSize(350, 210);

If the input line contains no placeholder for the height of the windowframe, at block 330 the createPrompt module appends the input linewithout any change to the Dynamic Dialog Frame Program file, and atblock 332 it reads the next line of the Dialog Frame Pseudo Program fileand returns to block 316 for the next iteration in the loop. After allthe lines of the Dialog Frame Pseudo Program file are read withcorresponding changed or unchanged lines appended to the Dialog FramePseudo Program file, the Dialog Frame Pseudo Program file becomes acomplete program file. At block 334 the createPrompt module invokes thecompiler command from the operating system platform to compile and linkthe Dynamic Dialog Frame Program file to an executable program file. Atblock 336, it executes the executable program file and stores the outputin the global variable named varData. As is described in block 338, thisoutput contains a string of the user input for all text field objects onthe dialog frame window created by the execution of the executableDynamic Dialog Frame Program file. In the string, the user's input fortwo adjacent text field objects are separated by a delimiter charactersuch as but not limited to the semicolon character. A more detaileddescription of the Dynamic Dialog Frame Program is followed next.

As was described previously the main function of the createPrompt moduleis to generate an executable Dynamic Dialog Frame Program file, executeit to display a dialog window to collect users' input, and store them inthe global variable named varData. FIG. 7, comprised of FIG. 7A and FIG.7B, illustrates the Dynamic Dialog Frame Program (DDF Program). At block405, the DDF Program creates a dialog frame window on an operatingsystem platform that supports graphics. At block 410, it creates textfield objects. At block 415, it creates label objects describing thetext field objects. At block 420, it creates a button object with labelOK. At block 425, the DDF Program creates an event handler on the OKbutton such that if a user clicks on the button, this event handlerretrieves data entered on the text field objects by a user and outputsthem to the calling module. At block 430, it creates text panel objectsand adds the label objects and text field objects in pairs to the panelobjects, one panel object for each pair. At block 435, it creates an okpanel object and adds the OK button object to this panel object. Atblock 440, the DDF Program creates a container object and adds the textpanel objects and ok panel object to the container object. At block 445,it makes the container object visible. At blocks 450 and 455, it waitsfor the user to enter data to the text field objects and clicks the OKbutton. After the user clicks the OK button, at block 460 the DDFProgram retrieves the string data that the user entered to the textfield objects and outputs them to the calling module. The format of theoutput is a string containing the concatenations of every string dataentered by the user to each text field object with each pair of adjacentstring data separated by a delimiter such as but not limited to thesemicolon character.

As was described previously, at block 210 of FIG. 5, the CFT

Program calls the createPrompt module to prompt a user to enter stringvalues for the menu file name, menu item name, item link name, andtemplate file name. At block 336 of FIG. 6 the createPrompt module inturn executes the executable DDF Program file and stores the user'sinputs for the string values in the global variable named varData. Atblock 212 of FIG. 5, the CFT Program retrieves the string values of themenu file name, menu item name, item link name, and template file namefrom the string value of the global variable varData. As was discussedpreviously an optional prompt message for “only copying template file”that requests the user to answer with Y (yes) or N (no) indicatingwhether the template file should be directly copied to the target fileor not may be added to the dialog window displayed by the execution ofan executable DDF Program file, which is generated at block 336 of FIG.6, and the user's answer is added to the end of the string value for thevariable varData. FIG. 8 illustrates such a dialog window. At block 500,the DDF Program displays the text field object for the menu name. Atblock 502, it displays the text field object for the menu item name. Atblock 504, it displays the text field object of the item link name. Atblock 506, the DDF Program displays the text field object of thetemplate file name. At block 508, it displays the text field object thatreceives the user's answer to the prompt “Only Coping Template File”.

As was discussed in the description for FIG. 5, the second module thatthe CFT Program calls is the createFile module if the target file doesnot exist and if the template file exists and is a text file. As isshown in boxes 20 and 22 of FIG. 1, the only module that the createFilemodule calls is the getKeyValue module. At this point, the descriptionof the getKeyValue module is presented next and the description of thecreateFile module will be presented following it. FIG. 9, comprised ofFIG. 9A and FIG. 9B, illustrates the getKeyValue module. In block 604,the getKeyValue module initializes the global variable key array to bean empty array. In block 608, it initializes the global variable valueshash array to be an empty hash array. As is shown in boxes 22 and 15 ofFIG. 1, and in block 612, the getKeyValue module opens the template filefor input. As is described in box 616, the template file containsplaceholders with field variable names (or identifications) forchangeable fields. Before the further description of the getKeyValuemodule, changeable fields and placeholders in a template file aredescribed in more details next.

A changeable field of a template file is named from an internal point ofview. It has a field variable name and identifies a field location inthe template file. All changeable fields need to be replaced totransform the template file to a real document. A placeholder of atemplate file is named from an external point of view. Placeholders areways to represent the changeable fields so that a computer program canbe developed to detect them and replace them. The following is anexample of a template file in its simplest form for a travel expensereport:

Employee ==name== Date ==date== Client ==client name== Meals =mealscost== Gas ==gas cost==

The five fields on the left side are unchangeable fields. They representthe static structure of the document in the form of but not limited toplain alphanumerical strings. For example, static tag names of XML orWML may also appear on the left side. The five fields on the right sideare changeable fields. They identify the field locations that need to bereplaced. Placeholders are ways of representing changeable fields. Herethere are five placeholders on the right side, representing the filedvariable names (or identifications) preceded by but not limited to ==(two=characters) and trailed by ==. For example, ==name== is aplaceholder and name is a field variable name. There are other ways torepresent the five fields such as using ** instead of ==. Placeholdervalues (or fill-in values) are the user input values that replace thechangeable fields to transform the template file to a real document,which represents the initial version of the target file. A more complexexample of a template file such as but not limited to XML file formatmay contain a line with static tag and placeholder like:

<empName value=“==var==Name==evar==”/>

In the above example, field variable names (or identifications) arepreceded by the character string “==var==” and followed by the characterstring “==evar==”.

From blocks 620 to 656 of FIG. 9A and FIG. 9B, respectively, thegetKeyValue module contains a program loop that reads the template fileline by line. At block 620, it reads the first line. At block 624, itchecks whether the end of the template file is reached. If yes, then itreturns to the caller. If no, then at block 628 it checks whether theline contains the placeholder of a field variable name (oridentification). If the line does not contain any placeholder, then atblock 656 the getKeyValue module reads the next line of the templatefile. If the line contains the placeholder of a filed variable name,then at block 632 the getKeyValue module extracts the string value ofthe field variable name from the placeholder on the line. (Thediscussion here is for at most one placeholder per line. But theapproach of the method is not limited to it.) At block 636 it creates akey list as an array that contains the key elements of the variablevalues hash array. At block 640 it checks whether the key list containsthe string value of the field variable name as an element. If yes, thenat block 656 it reads the next line of the template file. If no, then atblock 644 it adds the string value of the field variable name as a keyindex element to the variable values hash array with the empty string asits initial corresponding value. At block 648 the getKeyValue moduleadds the string value of the field variable name as an array element ofthe variable key array. As is commented in box 652, the variable keyarray contains the string values of the filed variable names (oridentifications) as its array elements in the right order as they appearin the template file. At block 656, getKeyValue module reads the nextline in the template file.

As was discussed before, the second module that the CFT Program calls isthe createFile module if the target file does not exist and if thetemplate file exists and is a text file. As was also discussed before,the description of the createFile module follows the description of thegetKeyValue module, which was just presented. FIG. 10, comprised withFIG. 10A, FIG. 10B, and FIG. 10C, illustrates the createFile module. Atblock 708 the createFile module calls the getKeyValues module to callsthe getKeyValues module to populate the key index element list of thevariable hash array with the string values of the filed variable names(or identifications) in the template and populate the variable key arraywith the same string values of the filed variable names (oridentifications) in the template. At block 712 it calls the createPromptmodule to display a dialog window with the string values of the filedvariable names (or identifications) as labels and prompt for and receivethe user's input for the placeholders' values in the template. Itconcatenates the placeholders' values into a single string with eachpair of adjacent placeholder values (or fill-in values) being separatedby a delimiter character such as the semicolon character “;” in theglobal variable varData. At block 716 the createFile module splits thevalue of the global variable varData with the semicolon character “;” asthe separator and stores the resulting substrings as elements of atemporary array named varListValues. As is commented in the box 720, thevarListValues array is an array parallel to the variable key array,which, as can be recalled, was populated with string values of thetemplate file's filed variable names (or identifications) as its arrayelements by the getKeyValue module, in that they are of the same size.For each subscript, the element of the varListValues array contains theuser input value for the value of the placeholder in the template filethat corresponds to the element of the variable key array, which is thestring value of a variable key name. At block 724, the createFile moduleconsiders each element of the variable key array as a key index for thevariable values hash array. For each element of the variable key array,it assigns the value of its corresponding element in the varListValuesarray as the value for its corresponding element in the variable valueshash array. Thus the variable values hash array contains the key-valuepairs in that each key index contains the string value of a fieldvariable name and that the corresponding value is the user's input valuethat replaces the placeholder at the location of the field variable inthe template file.

At block 728, the createFile module opens the template file for input.As was discussed in the description for FIG. 9 for the getKeyValuemodule at box 616 and as is commented in box 732, the template filecontains placeholders at the locations of filed variable names (oridentifications) representing changeable fields. At block 736, thecreateFile module opens the target file for output. As is commented inbox 740, the target file is the file that a user wants to process. Itsname is provided through the Graphics User Interface Program. From block744 to block 768, the createFile module contains a program loop thatreads the template file line by line. At block 744, it reads the firstline of the template file. At block 748, it checks whether the end ofthe template file is reached. If yes, then it returns to the callingmodule. If no, then at block 752, it checks whether the line containsthe placeholder of a field variable name. If the line does not containthe placeholder of a field variable name, then at block 764 it appendsthe line unchanged to the target file. At block 768 it reads the nextline from the template file and returns to block 748 to check whetherthe end of the template file is reached. If the line does contain theplaceholder of a field variable name, then at block 756 the createFilemodule extracts the field variable name from the placeholder. At block760 it creates a new line by replacing the placeholder by thecorresponding value of the element of the variable values hash arraywith the extracted field variable name as the key index. At block 764 itappends this new line to the target file. At block 768 it reads the nextline from the template file and returns to block 748 to check whetherthe end of the template file is reached.

An example of a dialog window generated as a result of the calls to thegetKeyValue module at block 708 and to the createPrompt module at block712 is illustrated in FIG. 11 with the template file in XML format thatis described below.

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“expense.xsl”?> <!-- Expense Template   --> <expense>  <empNamevalue=“==var==Name==evar==” />  <expDate value=“==var==Date==evar==” /> <item amount = “==var==Meal_Amount==evar==”>   <name>Meal</name>  <description>    Meal expense   </description>  </item>  <item amount= “==var==Gas_Amount==evar==”>   <name>Gas</name>   <description>   Gasoline expense   </description>  </item>  <item amount =“==var==Other_Amount==evar==”>   <name>Other Expense for==var==Name==evar==</name>   <description>    Other expense  </description>  </item> </expense>

In this file, the string values of the variable names are Name, Date,Meal_Amount, Gas_Amount, and Other_Amount. The correspondingplaceholders are the strings of the format: ==var==variable name==evar,where variable name is one of these five string values. The getKeyValuemodule stores these five string values as key index values of thevariable values hash array. It also stores them as elements of thevariable key array. The createPrompt module displays the dialog windowin FIG. 11. It creates the label Name from converting the string valueof the first element of the variable key array, which is the string“Name”, and displays this label at 800. It creates the label Date fromconverting the string value of the second element of the variable keyarray, which is the string “Date”, and displays this label at 804. Itcreates the label Meal Amount from converting the string value of thethird element of the variable key array, which is the string“Meal_Amount”, and displays this label at 808. It creates the label GasAmount from converting the string value of the fourth element of thevariable key array, which is the string “Gas_Amount”, and displays thislabel at 812. It creates the label Other Amount from the value of thefive element of the variable key array, which is the string“Other_Amount”, and displays this label at 816. After the user inputsthe values for the five fields: “Smith, Jack” at 820, “08/13/04” at 824,“15.56” at 828, “9.79” at 832, and “3.28” at 836, respectively, thecreatePrompt module coverts the input values into a single string “SmithJack;08/13/04;15.56;9.79;3.28” and stores it in the global variablevarData. At block 716 and 714, the createFile module splits the stringvalue of the variable varData and populates the variable values hasharray with the following key-value pairs: “Name”—“Smith, Jack”,“Date”—“Aug. 13, 2004”, “Meal_Amount”—“15.56”, “Gas_Amount”—“9.79”, and“Other_Amount”—“3.28”. At block 756 and 760, for a line of the templatefile that contains a placeholder, the createFile module creates a newline in the target file by extracting the field variable name from theplaceholder and replacing the placeholder by the value corresponding thekey index that has the string value of the field variable name. Forexample, from the line in the template file:

<empName value=“==var==Name==evar==”/>

the following line is generated for the target file:

<empName value=“Smith, Jack”/>

From block 744 to block 768 of FIG. 10, the program loop of thecreateFile module generates from the template file the complete targetfile with the following content:

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“expense.xsl”?> <!-- Expense Template  --> <expense>  <empNamevalue=“Smith, Jack” />  <expDate value=“08/13/2004” />  <item amount =“15.56”>   <name>Meal</name>   <description>    Meal expense  </description>  </item>  <item amount = “9.79”>   <name>Gas</name>  <description>    Gasoline expense   </description>  </item>  <itemamount = “3.28”>   <name>Other Expense for Smith, Jack</name>  <description>    Other expense   </description>  </item> </expense>

As was illustrated at boxes 18 and 30 of FIG. 1 and at block 232 of FIG.5C, the Check File Type Program (CFT Program) calls the createBlankFilemodule. As was discussed previously for Figure and the CFT Program, thecreateBlankFile module is called if the template file does not exist.FIG. 12 illustrates the createBlankFile module. The createBlankFilemodule creates an empty new target file, of which the file type is inthe category of certain file types, to drop warning messages for someapplication programs if the target files that they are to process do notexist. At block 905, it determines the file type of the target filebased on name of the target file and on the command, the applicationprogram that is to process the target file. At block 915, it checkswhether a blank file is available for this file type in the defaultfolder that contains blank files of various types; for example, wordprocessing file, spreadsheet file, and presentation file and so on. Ifno, then it returns to the calling program, which is the CFT Program. Ifyes, then it copies the blank file to the target file and returns to theCFT Program.

As is described in box 51 of FIG. 2, the Graphics User Interface Program(GUI Program) displays the View menu on the menu bar. FIG. 13illustrates the menu items if a user clicks on the View menu at 1000.Three menu items are displayed: View Local Activity Summary at 1005,View Global Activity Summary at 1010, and View History of GlobalActivity Summary at 1015, respectively. If the user clicks the ViewLocal Activity Summary menu item, the GUI Program displays in a newwindow the local activity summary file located in the folder where thelast target file was processed. If the user clicks the View GlobalActivity Summary menu item, the GUI Program displays in a new window theGlobal Activity Summary file whose file name was selected by the userand is displayed at box 56 of FIG. 2. If the user clicks the ViewHistory of Global Activity Summary menu item, the GUI Program displaysin a new window the names of the Global Activity Summary files that havebeen modified by the ATWM Program and the timestamps of the events ofthese modifications.

As was discussed for the ATWM Program illustrated by FIG. 4, the localactivity summary file and global activity summary file may be replacedby local activity summary table and global activity summary table,respectively, if Relational Database Management System (RDBMS) is used.FIG. 14 illustrates a Database Object Model Diagram that guides a designand implementation of a database that contains local activity summarytables and global activity summary tables. At box 1100, the object classGlobalActivityTableList represents the names of all global activitysummary tables. At box 1105, the object class LocalActivitySummaryrepresents the directory (folder) paths corresponding to local activitysummary tables. In object-oriented modeling methodology, there is amany-to-many association between the two object classes:GlobalActivityTableList and LocalActivitySummary and thus theassociation becomes an association class named as GlobalActivitySummary,which, shown at box 1110, represents the logging of processing of targetfiles globally. At box 1115, the object class LocalActivitySummaryDatarepresents the logging of processing of target files locally. There is aone-to-many association between the two classes: LocalActivitySummaryand LocalActivitySummaryData. At box 1125, the object class TargetFilerepresents the names of all target files that were processed before.There is a one-to-many association between the two classes: TargetFileand LocalActivitySummaryData. At box 1120, the object classSummaryOfUpdate represents the summaries and optional details of theprocessing of the target files. There is a one-to-many associationbetween the two classes: TargetFile and SummaryOfUpdate. This objectmodel illustrated in FIG. 14 specifies that in the implementation toRDBMS, all the six classes represented by boxes 1100 to 1125 should beimplemented as database tables.

FIG. 15 describes the drop down menu when a user clicks on the Toolsmenu on the menu bar at 52 of FIG. 2 and at 1200 of FIG. 15. The dropdown menu contains three menu items: Run Automenu, Run Search, and RunMerge shown at 1205, 1210, and 1215, respectively. The menu item: RunAutomenu starts the user driven menu program of the UDMGS system. A menufile such as but not limited to that shown at box 500 of FIG. 8 may beused as the menu configuration file for this user driven menu program.The menu item: Run Search starts the search program of the UDMGS system.The menu item: Run Merge starts the merge program of UDMGS system.

Hardware Platforms. It is assumed that those in the art shouldunderstand that the systems and methods of the present embodiment are,in the usual concept of software-based implementation, considered to bean application. In this view, the systems and methods of the presentembodiment may be implemented as one or more applications on anysuitable hardware platform(s) operated under the control of any suitableoperating system(s).

Further Description Not Needed. The systems and methods of the exampleembodiments need not be further described here since those experiencedin the art, based on the teachings of the embodiments discussed herein,will promptly understand how to implement the same. This is partly dueto the widespread use of conventional operating systems and commands andcommand aliases therein to initiate the execution of various applicationprograms to process files. The systems and methods of the exampleembodiments may be used on distributed computer systems, such as localarea networks (LANs), wide area networks (WANs), wireless networks andInternet based networks. The common knowledge about and use of variouscommands and command aliases to invoke application programs to processfiles as just noted between computers on such networks makes itunnecessary to further describe the details of the protocols of thesecommands and command aliases. Furthermore, any suitable programmingapproach and any known communications and database protocols andsoftware tools familiar to those writing software programs and relatedcommands may be applied to implement the systems and methods of theexample embodiments. These programming approaches include but notlimited to using object-oriented programming components and relationaldatabases. In addition, the systems and methods of the present exampleembodiments may be implemented as a collection of interrelated programsor modules/routines in any suitable programming language (or collectionof languages) such as but not limited to object-oriented programminglanguages.

The example embodiments have been described in part by reference toblock diagrams, flow chart diagrams and elements of systems and steps ofmethods. As is well known, suitable program instructions or codingprovided in software are used to convert general purpose computersand/or processors into programmed computers and/or processors to formsystems capable of implementing a specific application, such as thedescriptions of the example embodiments.

Tangible Media as an Implementation. In addition, the software or othercoding used to implement the example embodiments may be provided in anysuitable form of computer program code embodied in tangible media, suchas but not limited to removable storage media, including floppydiskettes and CD-ROMs, hard drives, tape drives, static or flash memory,or any other computer readable storage medium. When such computerprogram code or other code, containing the needed instructions, isloaded into and is ready for execution by suitable computers/processors,such programmed computers/processors become an apparatus for practicingthe example embodiments. Therefore, it should be understood that anotherembodiment of the present invention is the computer program code neededfor implementing the processes of the example embodiments when embodiedin a tangible medium.

Additional example embodiments will now be described.

In modern computer operating systems, in addition to graphics userinterfaces such as dialog frame windows, an input redirection facilityis also commonly available to provide input to an application with dataretrieved from an input data file. Such an input redirection enables abatch process in the sense that an application can run to its completionwithout users' interactions, even if this application requires inputdata. An example is that most commonly used programming languagesnowadays, such as C/C++ programming language and Java programminglanguage, allow the main function (or method or module) of the sourceprograms to accept the name of an input data file as a command lineargument of the application program that is compiled from the sourceprograms. Most modern operating systems allow such an applicationprogram access the input data file internally from within the programand read from it without requiring the users to interactively enter thedata values. Another example is that in the terminal window of a UNIXsystem, the standard input to an operating system command or to anapplication that normally requires input data from its interactions withusers can be redirected to a data file by the ‘<’ command operator suchas

UNIX_command_name<inpit_data_file_name

or

application_executable_file_name<input_data_file_name

Each of the above two command lines may be embedded in a UNIX shellscript and executed in a batch process; that is, the execution of theshell script can run to its completion without users' interactions.Similarly in the command prompt of a DOS terminal window of theMicrosoft Windows operating system, the standard input to an operatingsystem command or to an application that normally requires input datafrom its interactions with users can also be redirected to a data fileby the ‘<’ command operator such as

DOS_command_name<data_file_name

or

application_executable_file_name<data_file_name

Each of the above two command lines may be embedded in a Windows DOSbatch file and executed in a batch process; that is, the execution ofthe batch file can run to its completion without users' interactions.

In addition to using a dynamic frame window generated by the DynamicDialog Frame Program to collect input data from users to fill thechangeable fields in a template file, a flag variable may be added inthe Create File Module to indicate whether the input data are taken froma graphics user interface. If the value of the flag variable is yes,then the input are collected from a dynamic dialog window as specifiedbefore. If the value of the flag variable is no, then the input arecollected in a batch process from one or more data files createdpreviously by one or more users or one or more systems. FIG. 16describes a part of the system surrounding the Create File Module (box20) enhanced from FIG. 1. Four boxes 1300, 1305, 1310, and 1315 areadded in FIG. 16. Box 1300 checks the value of the flag variable. If thevalue is “yes”, then the execution goes to box 24, which is thecreatePrompt Module as discussed above. If the value is “no”, then theexecution goes to box 1305, which is the getDataFromBatchFile Module.The getDataFromBatchFile Module, described in detail elsewhere herein,gets the values for the changeable fields in the template file in thebatch process from data files. Box 1310 represents the batch input datafile. Box 1315 represents the Insert Results of Search Module, whichwill be described in detail in elsewhere herein.

FIGS. 17A and 17B describe the flowchart for thegetDataFromBatchFileModule. Box 1320 receives a parameter value for aprompting label, which is represented by a field variable name in theprogramming segments, of changeable field from a module that calls it.From FIG. 16 such a calling module is the Create File Module. Thecalling module expects that a filler data for the changeable field whoseprompting label matches the parameter value to be returned. Box 1322opens the input data file for input. Box 1324 represents such an inputdata file, which was created by a user or a system for the purpose ofproviding input data values for the changeable fields in the templatefile. Each line of the input data file is of the format:

Prompting label: data that fills the changeable field with the promptinglabel

In programming term, the prompting label in this format may be replacedby field variable name. Boxes 1326 to 1336 describe the steps of readingeach line of the input file and finding the line that has the promptinglabel matching the parameter value. If such a line is found, then box1332 extracts the data value and box 1334 returns the extracted value tothe calling module.

FIG. 18 describes the flowchart of the insertResultsofSearch Module. Box1340 receives data values of changeable fields from the calling moduleand a formatting flag with a value of “yes” or “no”. From FIG. 16, sucha calling module is the Create File Module. Box 1342 executes a searchtool to search for these data values from a source repository,represented as box 1344. An example of the search tools is the searchprogram of the UDMGS system, which is referenced as 1210 in FIG. 15. Thesearch tool produces the results of the search, represented as box 1346.Box 1348 checks the formatting flag to see whether formatting is needed.If yes, then box 1350 formats the search results and goes to box 1352.If no, then box 1352 inserts the search results, unformatted orformatted, into the target file, represented as 1354. Examples offormatted results include but not limited to those in XHTML/HTML'sunordered or ordered list format based on a certain ranking of theresults of a search.

FIG. 19 shows an example of executing the insertResultsofSearch Module.Suppose a template file contains only three changeable fields and onlythe locations of these changeable fields are displayed; box 1360represents the location of the changeable field 1, box 1362 representsthe location of the changeable field 2, and box 1364 represents thelocation of the changeable field 3. FIG. 19 also shows an example of atarget file generated from the template file. In this example, the threechangeable fields in the template file are filled with three user- orsystem-provided input data values. Boxes 1370, 1372, and 1374 representthe result of the filling with three user-input data values for theboxes 1360, 1362, and 1364, respectively. In addition, box 1376represents the effect of the insertion of results, formatted orunformatted, from using the three user-input data values in boxes 1370,1372, and 1374 as search parameters in searching for information fromother sources.

The Unified Modeling Language (UML) standard specifies the sequencediagram as one of the tools that describes the interactions of objectclasses. FIG. 20 is a sequence diagram. Participants in the sequencediagram send messages to each other. FIG. 20 describes an example of thebatch process of filling changeable fields in a template file,transmitted among Web services, with data values in a user- orsystem-provided data file at one of the transmission locations. InService-Oriented Architecture (SOA), messages are transmitted betweenWeb services through Simple Object Access Protocol (SOAP) format, whichis based on the XML standard. The container of a SOAP message is calleda SOAP envelop. A SOAP envelop has header and body. It may carry a fileas its attachment, which may contain text data. The body of a SOAPenvelop consists of text data. Five Web services are represented as1400, 1405, 1410, 1415, and 1420 in FIG. 20 respectively.

In FIG. 20, Web service 1400 intends to send a file to Web service 1415.The scenario is that the file in question is incomplete and it needs tobe filled with some data that can only be provided by Web service 1405.So it sends a template file with changeable fields for those data as anattachment to a SOAP message. In FIG. 20, the name of the message isgetChangeableFieldsDataFromBatch1. After receiving the message, Webservice 1405 calls a module named fillChangeableFieldsFromBatch1, whichwill be described in detail elsewhere herein, to fill the changeablefields in the attached template file with values from a data file thatit has, which can be created by either a user or a system, through abatch process. Web service 1405 then proceeds to send the completedattachment to the Web service 1415, which is the destination. Afterreceiving the completed attachment, Web service 1415 sends aconfirmation message to Web service 1405, which in turn sends aconfirmation message to Web service 1400.

In FIG. 20, Web service 1400 intends to send another file to another Webservice 1420. The scenario is that the file in question is alsoincomplete and it needs to be filled with some data that can only beprovided by Web service 1410. So it sends a template file withchangeable fields for those data in the body the SOAP message. In FIG.20, the name of the message is getChangeableFieldsDataFromBatch2. Afterreceiving the message, Web service 1410 calls a module namedfillChangeableFieldsFromBatch2, which will be described in detailelsewhere herein, to fill the changeable fields in the body of the SOAPmessage with values from a data file that it has, which can be createdby either a user or a system, through a batch process. Web service 1410then proceeds to send the completed SOAP body to the Web service 1420,which is the destination. After receiving the completed SOAP body, Webservice 1420 sends a confirmation message to Web service 1410, which inturn sends a confirmation message to Web service 1400.

FIGS. 21A and 21B describe the flowchart of thefillChangeableFieldsFromBatch1 module. Box 1430 receives a template fileas an attachment to the XML/SOAP message. Box 1432 represents thetemplate file. Box 1434 opens the input data file, represented as box1436. Boxes 1438 to 1444 read or process each line of the input datafile. As noted above, each line of the input data file is of the format:

Prompting label: data that fills the changeable field with the promptinglabel

In programming term, the prompting label in this format may be replacedby field variable name. So the line can be considered to be in anequivalent format, which has two fields separated by the “;” character:

Field variable name: data that fills the changeable field with the fieldvariable name

For each line of the input data file, box 1442 adds a new element to thevariable values hash array, which is referenced above and in box 724 ofFIG. 10A, with the field variable name as the key and the data in thesecond field on the line as the element value. Box 1446 represents theprocess of repeating all the steps in FIGS. 10B and 10C to fill eachplaceholder (changeable field) with its corresponding field variablename as the key by the associated element value in the variable valueshash array. Box 1448 represents the generated target file as thecompleted attachment to the XML/SOAP message, which is then sent by theWeb service 2, represented as 1405 in FIG. 20, to the Web service 4,represented as 1415 in FIG. 20.

FIG. 22 describes the flowchart of the fillChangeableFieldsFromBatch2module. Box 1450 receives a template file as the body of the XML/SOAPmessage. Box 1452 represents the template file. Box 1454 represents theprocess of repeating all the steps from boxes 1434 to 1446 in FIGS. 21Aand 21B. Box 1456 represents the generated target file as the completedbody of the XML/SOAP message, which is then sent by the Web service 3,represented as 1410 in FIG. 20, to the Web service 5, represented as1420 in FIG. 20.

User- or system-provided input data values for changeable fields in atemplate file include but not limited to text data or reference names,such as hyperlinks, to external sources; the external sources can betext files, HTTP/Uniform Resource Locators (URL's) as hyperlinks, ornon-text files such as binary files or graphics image files. FIG. 23shows a template file in which only the locations of changeable fieldsare displayed; box 1460 represents the location of the changeable field1, box 1462 represents the location of the changeable field 2, and box1464 represents the location of the changeable field 3. FIG. 23 alsoshows an example of a target file generated from the template file. Inthis example, the three changeable fields in the template file arefilled with three user- or system-provided input data values; box 1470represents the result of the filling through which the changeable fieldin box 1460 is filled with a user-input plain text data; box 1472represents the result of the filling through which the changeable fieldin box 1462 is filled with a user-input URL address as a hyperlink; box1474 represents the result of the filling thorough which the changeablefield in box 1464 is filled with a user-input name of a binary file.

FIG. 2 illustrates the main screen displayed by the Graphics UsersInterface Program (GUI Program). FIG. 24 enhances FIG. 2 with theaddition a textbox (box 1500) containing a (HTTP) Web address in theUniform Resource Locator (URL) format. It also adds a command button(box 1505) that, if clicked, displays a dialog frame window that liststhe Web addresses of all Web pages that are being displayed by the Webbrowser program. If a user clicks to select one list item on this list,then the Web address on this item is copied to the text box (box 1500).In addition, it adds a command button (box 1510) that, if clicked, theWeb browser downloads and displays the Web page whose address isdisplayed in box 1500.

FIG. 25 describes the drop down menu when a user clicks on the Toolsmenu on the menu bar at 52 of FIG. 2 and at 1200 of FIG. 15. FIG. 25enhances FIG. 15 with the additions of five more menu items representedby boxes 1600, 1605, 1610, 1615, and 1620, respectively.

In FIG. 25, if box 1600 is clicked, the system appends the Web addressin box 1500 of FIG. 24 to a text file with its folder path and file nameselected in boxes 55 and 58, respectively, of FIG. 24.

In FIG. 25, if box 1605 is clicked, the system appends the Web addressin box 1500 of FIG. 24 as a hyperlink to an XHTML/HTML file with itsfolder path and file name selected in boxes 55 and 58, respectively, ofFIG. 24.

In FIG. 25, if box 1610 is clicked, the system adds the file operationas a menu item to a menu whose configuration file resides in theselected folder; the folder path for the selected folder and file nameof this file are in boxes 55 and 58, respectively, of FIG. 24; thecommand for the operation is in box 54 of FIG. 24.

In addition to downloading an XHTML/HTML file as a Web page from aremote Web server and display it, a Web browser can also display anXMTML/HTML file in a local folder as a Web page. In FIG. 25, if box 1615is clicked, assuming that the selected file in box 58 of FIG. 24 is anXHTML/HTML file, the system adds the Web browser operation as a menuitem to a menu whose configuration file resides in the selected folder;the folder path for the selected folder and file name of this file arein boxes 55 and 58, respectively, of FIG. 24.

In FIG. 25, if box 1620 is clicked, the system searches for all the(HTTP) Web addresses in a menu configuration file, which resides in thefolder whose path is selected in box 55 of FIG. 24, and displays them ina list in a pop up window. If a user clicks to select one of the itemsin the list, then the Web address associated with this item is copied tobox 1500 of FIG. 24. A user can then use this Web address information todo other tasks that were discussed earlier such as invoking the Webbrowser to download and display the Web page with this address byclicking on the command button in box 1510 of FIG. 24.

The foregoing processes described above can be applied to the followingillustrated example on receiving input data of strings to be searchedfrom a source repository and displaying search results. Suppose afurniture company has a Web site that provides order fulfillmentservice. Part of the Web site has a products section under which thereare three sections that list the products in chair, desk, and table,respectively. The source repository for the search is this productssection. A template of a Web page for search can be created in thefollowing XHTML/HTML language format in a file named mysearch.html:

<html>  <head>   <title>Search Product Information</title>  </head> <body>   <h1 style=“color:blue”>Product Information</h1>   <hr noshade>  <table>    <tr><th>Searched Strings</th></tr>    <tr><td>    %var%Searched_String_1%evar%    </td></tr>    <tr><td>    %var%Searched_String_2%evar%    </td></tr>    <tr><td>    %var%Searched_String_3%evar%    </td></tr>   </table>

FIG. 26A shows that the selection of this template to generate a newtarget file as the source file of the search Web page. Suppose the nameof the target file is mysearch-dec08a-2008.html. As was discussed beforeeither a generated graphics user interface or a batch process can beused to collect user inputs. Suppose the graphics user interfaceapproach is utilized. FIG. 26B displays the generated graphics userinterface in which three strings to be searched are entered as:Computer, Executive, and Desk respectively.

The generated target file mysearch-dec08a-2008.html has the followingcontent.

<html>  <head>   <title>Search Product Information</title>  </head> <body>   <h1 style=“color:blue”>Product Information</h1>   <hr noshade>  <table>    <tr><th>Searched Strings</th></tr>    <tr><td>     Computer   </td></tr>    <tr><td>     Executive    </td></tr>    <tr><td>    DesK    </td></tr>   </table>

The example illustrated so far partly describes FIG. 19 in that threechangeable fields are filled with three input data values provided by auser as strings to be searched. Next, a search program to search forthese three strings in the XHTML/HTML source files of all the Web pageson the products section of the Web site. The results of the search areappended to the source file of the Web page: mysearch-dec08a-2008.html.Its content is now:

   <html>     <head>      <title>Search Product Information</title>    </head>     <body>      <h1 style=“color:blue”>ProductInformation</h1>      <hr noshade>      <table>       <tr><th>SearchedStrings</th></tr>       <tr><td>        Computer       </td></tr>      <tr><td>        Executive       </td></tr>       <tr><td>       Desk       </td></tr>      </table>      <hr noshade>     <h1>The following pages may contain the string Computer      </h1>     <p>      <br>      <ul>       <li><ahref=“http://localhost/products/desk/index.html”>products/desk/index.html</a></li>      </ul>      <h1>The following pages may contain the stringExecutive      </h1>      <p>      <br>      <ul>       <li><ahref=“http://localhost/products/chair/index.html”>products/chair/index.-html</a></li>       <li><ahref=“http://localhost/products/desk/index.html”>products/desk/index.html</a></li>      </ul>      <h1>The following pages may contain the stringDesk</h1>      <p>      <br>      <ul>       <li><ahref=“http://localhost/products/desk/index.html”>products/desk/index.html</a></li>      </ul>  </body> </html>

The illustrated example further describes FIG. 19 in that the results ofthe search, formatted in XHTML/HTML language, are appended to thegenerated target file mysearch-dec08a-2008.html. FIG. 27 shows the Webpage with the file mysearch-dec08a-2008.html as its source file. A usercan click to select the hyperlink:

products/desk/index.html

to confirm that all the three strings: Computer, Executive, and Desk arein the Web page identified by this hyperlink as shown in FIG. 28. A usercan also click to select the hyperlink:

products/chair/index.html

to confirm that the string: Executive is in the Web page identified bythis hyperlink as shown in FIG. 29.

The foregoing processes described above can be applied to the followingillustrated example on providing input data to changeable fields fromusers in several departments. This is similar to the function of anassembly line, with multiple stations, for template files wherechangeable fields of a template file is filled by a user at one stationresulting in the generation of a target file and subsequently newchangeable fields are identified in the target file; the target fileserves the role of a new template file whose changeable fields are to befilled by a user at the next station resulting in the generation of anewer target file. This process iterates from station to station untilthe last station resulting in the generation of the final version of thetarget file. An example is an order fulfillment service. Suppose threedepartments are involved: sales department, inventory department, andshipping department. An initial template file is created (e.g., namedorder.xml in the XML language format) with the content: (a method ofidentifying a new changeable field includes the removal of a flag fromthis field as to be discussed following this listing of the templatefile)

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“orderFullfillment.xsl”?> <!-- Order Fullfillment Template  --><orderFullfillment>  <!-- Order Template Segment  -->  <order>  <customerName value=“%var%Customer_Name%evar%” />   <orderDatevalue=“%var%Order_Date%evar%” />   <item quantity=“%var%Quantity%evar%”>   <productName>%var%Product_Name%evar%</productName>   <salesAgentId>%var%Sales_Agent_ID%evar%</salesAgentId>   </item> </order>  <!-- Inventory Template Segment  -->  <inventory>  <inventoryDate value=   “%var%!NF!Check_Inventory_Date%evar%” />  <productNumber>%var%!NF!Product_Number%evar%   </productNumber>  <inventoryClerkId>%var%!NF!Inventory_Clerk_ID%evar%  </inventoryClerkId>  </inventory>  <!-- Shipment Template Segment  --> <shipment>   <shipmentDate value=“%var%!NF!Shipment_Date%evar%” />  <shipmentAgentId>%var%!NF!Shipment_Agent_ID%evar%   </shipmentAgentId> </shipment> </orderFullfillment>

The above template has three segments: Order, Inventory, and Shipment.The latter two segments contain changeable fields prefixed with theflag: !NF!. This flag is provided to indicate to the processing system,identified as the file generation system in the claims, that achangeable field with this prefix is not to be filled with data in thenext processing stage; but such a changeable field can be filled withdata at a later processing stage when the flag !NF! is removed beforethe template file that contains this changeable field is to beprocessed. FIG. 30A shows that a sales agent in the sales departmentselects this template to generate a new target file. Suppose the name ofthe target file is order-dec09a-2008.xml. As was discussed before eithera generated graphics user interface or a batch process can be used tocollect user inputs. Suppose the graphics user interface approach isutilized. FIG. 30B displays the generated graphics user interface inwhich the sales agent entered the ordering related data as shown in thefigure. The generated target file order-dec09a-2008.xml has thefollowing content:

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“orderFullfillment.xsl”?> <!-- Order Fullfillment Template  --><orderFullfillment>  <!-- Order Template Segment  -->  <order>  <customerName value=“James Smith” />   <orderDate value=“12-09-2008”/>   <item quantity= “2”>    <productName>Computer Desk ModelCD200</productName>    <salesAgentId>122055</salesAgentId>   </item> </order>  <!-- Inventory Template Segment  -->  <inventory>  <inventoryDate value=   “%var%!NF!Check_Inventory_Date%evar%” />  <productNumber>%var%!NF!Product_Number%evar%   </productNumber>  <inventoryClerkId>%var%!NF!Inventory_Clerk_ID%evar%  </inventoryClerkId>  </inventory>  <!-- Shipment Template Segment  --> <shipment>   <shipmentDate value=“%var%!NF!Shipment_Date%evar%” />  <shipmentAgentId>%var%!NF!Shipment_Agent_ID%evar%   </shipmentAgentId> </shipment> </orderFullfillment>

Next this sales agent removes the !NF! flag from the changeable fieldsin the Inventory template segment from the generated target fileorder-dec09a-2008.xml to let the processing system allow the Inventorydepartment fill out data value for these changeable fields:

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“orderFullfillment.xsl”?> <!-- Order Fullfillment Template  --><orderFullfillment>  <!-- Order Template Segment  -->  <order>  <customerName value=“James Smith” />   <orderDate value=“12-09-2008”/>   <item quantity= “2”>    <productName>Computer Desk ModelCD200</productName>    <salesAgentId>122055</salesAgentId>   </item> </order>  <!-- Inventory Template Segment  -->  <inventory>  <inventoryDate value=“%var%Check_Inventory_Date%evar%” />  <productNumber>%var%Product_Number%evar%   </productNumber>  <inventoryClerkId>%var%Inventory_Clerk_ID%evar%   </inventoryClerkId> </inventory>  <!-- Shipment Template Segment  -->  <shipment>  <shipmentDate value=“%var%!NF!Shipment_Date%evar%” />  <shipmentAgentId>%var%!NF!Shipment_Agent_ID%evar%   </shipmentAgentId> </shipment> </orderFullfillment>

This sales agent then forwards this revised target file as a templatefile to the inventory department. FIG. 31A shows that a clerk in theinventory department selects this template file to generate a new targetfile. Suppose the name of the target file isorder-dec09a-inventory-2008.xml. As was discussed before either agenerated graphics user interface or a batch process can be used tocollect user inputs. Suppose the graphics user interface approach isutilized. FIG. 31B displays the generated graphics user interface inwhich the clerk in the inventory department entered the inventoryrelated data as shown in the figure. The generated target fileorder-dec09a-inventory-2008.xml has the following content:

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“orderFullfillment.xsl”?> <!-- Order Fullfillment Template  --><orderFullfillment>  <!-- Order Template Segment  -->  <order>  <customerName value=“James Smith” />   <orderDate value=“12-09-2008”/>   <item quantity= “2”>    <productName>Computer Desk ModelCD200</productName>    <salesAgentId>122055</salesAgentId>   </item> </order>  <!-- Inventory Template Segment  -->  <inventory>  <inventoryDate value=“12-09-2008” />  <productNumber>12KU20065</productNumber>  <inventoryClerkId>211132</inventoryClerkId>  </inventory>  <!--Shipment Template Segment  -->  <shipment>   <shipmentDatevalue=“%var%!NF!Shipment_Date%evar%” />  <shipmentAgentId>%var%!NF!Shipment_Agent_ID%evar%   </shipmentAgentId> </shipment> </orderFullfillment>

Next this clerk removes the !NF! flag from the changeable fields in theShipment template segment from the generated target fileorder-dec09a-inventory-2008.xml to let the processing system allow theShipment department to fill out data value for these changeable fields:

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“orderFullfillment.xsl”?> <!-- Order Fullfillment Template  --><orderFullfillment>  <!-- Order Template Segment  -->  <order>  <customerName value=“James Smith” />   <orderDate value=“12-09-2008”/>   <item quantity= “2”>    <productName>Computer Desk ModelCD200</productName>    <salesAgentId>122055</salesAgentId>   </item> </order>  <!-- Inventory Template Segment  -->  <inventory>  <inventoryDate value=“12-09-2008” />  <productNumber>12KU20065</productNumber>  <inventoryClerkId>211132</inventoryClerkId>  </inventory>  <!--Shipment Template Segment  -->  <shipment>   <shipmentDatevalue=“%var%Shipment_Date%evar%” />  <shipmentAgentId>%var%Shipment_Agent_ID%evar%   </shipmentAgentId> </shipment> </orderFullfillment>

This clerk then forwards the revised target file as a template file tothe shipping department. FIG. 32A shows that a shipment agent selectsthis template file to generate a new target file. Suppose the name ofthe target file is orderFullfillment-dec09a-2008.xml. As was discussedbefore either a generated graphics user interface or a batch process canbe used to collect user inputs. Suppose the graphics user interfaceapproach is utilized. FIG. 32B displays the generated graphics userinterface in which the shipment agent in the shipping department enteredthe shipment related data as shown in the figure. The generated targetfile orderFullfillment-dec09a-2008.xml has the following content, whichreferences an XSL file named orderFullfillment.xsl for formattingpurpose:

<?xml version = “1.0”?> <?xml:stylesheet type = “text/xsl” href =“orderFullfillment.xsl”?> <!-- Order Fullfillment Template  --><orderFullfillment>  <!-- Order Template  -->  <order>   <customerNamevalue=“James Smith” />   <orderDate value=“12-09-2008” />   <itemquantity= “2”>    <productName>Computer Desk Model CD200</productName>   <salesAgentId>122055</salesAgentId>   </item>   </order>  <!--Inventory Template  -->  <inventory>   <inventoryDate value=“12-09-2008”/>   <productNumber>12KU20065</productNumber>  <inventoryClerkId>211132</inventoryClerkId>  </inventory>  <!--Shipment Template  -->  <shipment>   <shipmentDate value=“12-11-2008” />  <shipmentAgentId>352139</shipmentAgentId>  </shipment></orderFullfillment>

This generated target file is the final target file that reports theorder fulfillment service. To transform this generated target file to anXHTML/HTML source file to be displayed by a Web browser, a file iscreated (e.g., an XSL file named orderFullfillment.xsl) with thefollowing example content:

<?xml version = “1.0”?> <!-- reference XSL stylesheet URI --><xsl:stylesheet version = “1.0” xmlns:xsl =“http://www.w3.org/1999/XSL/Transform”> <xsl:output method = “html”omit-xml-declaration = “no” doctype-system =“http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd” doctype-public =“-//W3C//DTD XHTML 1.0 Strict//EN”/> <xsl:template match = “/”> <!--match root element --> <html xmlns=“http://www.w3.org/1999/xhtml”> <head>   <title>Order Fullfillment</title>  </head>  <body>   <h2>Order of <xsl:value-of select =“orderFullfillment/order/customerName/@value” /> on <xsl:value-of select= “orderFullfillment/order/orderDate/@value” /> </h2>   <table border =“1” bgcolor = “cyan”>    <tr>     <td>Product Name</td>    <td><xsl:value-of select =“orderFullfillment/order/item/productName”/></td>    </tr>    <tr>    <td>Quantity</td>     <td><xsl:value-of select =“orderFullfillment/order/item/     @quantity”/></td>    </tr>   <tr>    <td>Sales Agent ID</td>     <td><xsl:value-of select =“orderFullfillment/order/item/salesAgentId”/></td>    </tr>    <tr>    <td>Check Inventory Date</td>     <td><xsl:value-of select =“orderFullfillment/inventory/inventoryDate/@value”/></td>    </tr>   <tr>     <td>Product Number</td>     <td><xsl:value-of select =“orderFullfillment/inventory/productNumber”/></td>    </tr>    <tr>    <td>Inventory Clerk ID</td>    <td><xsl:value-of select =“orderFullfillment/inventory/inventoryClerkId”/></td>    </tr>    <tr>    <td>Shipment Date</td>     <td><xsl:value-of select =“orderFullfillment/shipment/shipmentDate/@value”/></td>    </tr>    <tr>    <td>Shipment Agent ID</td>     <td><xsl:value-of select =“orderFullfillment/shipment/shipmentAgentId”/></td>    </tr>   </table> </body> </html> </xsl:template> </xsl:stylesheet>

FIG. 33 displays the formatted view of the final target fileorderFullfillment-dec09a-2008.xml in a screen of the Web browser.

The forgoing detailed description shows that the exemplary embodimentsof the present invention are well suited to fulfill some or all of thepurposes above-stated. It is recognized that those skilled in the artmay make a variety of modifications or additions to the embodimentschosen to illustrate the present invention without departing from thespirit and proper scope of the invention. Therefore, it is to beunderstood that the protection sought and to be afforded hereby shouldbe deemed to extend to the subject matter defined by the appendedclaims, including all fair equivalents thereof.

1. A computer-based method for generating a file, comprising: enabling auser to select a template file from a plurality of template files via auser interface configured to be displayed on a computer display to theuser, wherein the template files include changeable fields associatedwith corresponding field delimiters and prompting labels, and wherein atleast two of the plurality of template files have different quantitiesof changeable fields; accessing from computer readable memory anincomplete software program file containing variable name locations;parsing, using the computer, the program file to locate the variablename locations; inserting the label names obtained from the templatefile selected by the user in the variable name locations to furthercomplete the software program file; and storing the software programfile, including the inserted label names, in computer readable memory.2. The method as defined in claim 1, the method further comprisingenabling the execution of the program stored in the program file,wherein the program is configured to generate a user interface includingthe inserted label names and corresponding user input fields via whichthe user can provide data corresponding to changeable fields in theselected template file and/or retrieves data for the changeable fieldsfrom a data file previously created by a user or a system via a batchprocess that utilizes a computer operating system input redirectionfacility.
 3. The method as defined in claim 2, wherein the user and/orsystem-provided data are inserted into the changeable fields of thetemplate file to generate a target file.
 4. The method as defined inclaim 2, wherein the user and/or system-provided data are inserted intothe changeable fields of the template file to generate a target file,wherein the user and/or system-provided data include text data and/or areference to one or more external files.
 5. The method as defined inclaim 4, wherein the reference to at least one external file is ahyperlink.
 6. The method as defined in claim 4, wherein the one or moreexternal files include a text file and/or a non-text file, wherein thenon-text file is a binary file or a graphics image file.
 7. The methodas defined in claim 2, the method further comprising enabling a searchto be performed using the user and/or system-provided data as a searchparameter to search for information from other sources.
 8. The method asdefined in claim 2, the method further comprising: enabling a search tobe performed using the user and/or system-provided data as a searchparameter to search for information from other sources; and insertingresults of the search into the generated target file.
 9. The method asdefined in claim 2, the method further comprising: enabling a search tobe performed using the user and/or system-provided data as a searchparameter to search for information from other sources; formatting thesearch results in accordance with a first formatting instruction; andinserting the formatted search results into the generated target file.10. The method as defined in claim 3, wherein the target file includesan XML, XHTML/HTML, and/or WML document.
 11. The method as defined inclaim 3, wherein the target file includes a document that supports aBusiness-to-Business Internet application.
 12. The method as defined inclaim 11, wherein the Business-to-Business Internet application is a Webservice.
 13. A file generation system, comprising: program code storedin computer readable media that when executed by a processor isconfigured to: provide a first user interface for display configured toreceive from the user: a selection of a location where a target file isto reside; a file name as an identifier for the target file; a selectionof an operating system command and/or a selection of an applicationprogram to be used to process the target file; wherein the first userinterface includes: an input text field configured to receive a Webaddress in the Uniform Resource Locator format; a command control that,when activated, initiates a download and display of a Web pageassociated with the received Web address and/or a command control that,when activated, initiates the display of Web addresses of Web pagescurrently being displayed in corresponding windows, wherein if a userselects a Web address from the display of Web addresses, the selectedWeb address is displayed in the input text field; and an operationcontrol via which the user can initiate an operation with respect to atleast one file selected by the user and/or can initiate an operationwith respect to at least one folder selected via the first userinterface.
 14. The system as defined in claim 13, wherein the programcode is configured to detect if an operation control item, indicatingthat a hyperlink is to be inserted into a text file, is selected, and ifthe operation control item is selected, insert the Web address receivedvia the input text field into the text file selected as the target filevia the first user interface.
 15. The system as defined in claim 13,wherein the program code is configured to detect if an operation controlitem, indicating that a hyperlink is to be inserted into an XHTML/HTMLfile, is selected, and if the operation control item is selected, insertthe Web address received via the input text field as a hyperlink intothe XHTML/HTML file, which is selected as the target file via the firstuser interface.
 16. The system as defined in claim 13, wherein theprogram code is configured to detect if an operation control item,indicating that a file operation is to be added as a menu item, isselected, and if the operation control item is selected, add the fileoperation selected as an operating system command or application programvia the first user interface, as a menu item to a menu configurationfile.
 17. The system as defined in claim 13, wherein the program code isconfigured to detect if an operation control item, indicating that aviewing page item is to be added as menu item, is selected, and if theoperation control item is selected, add a Web browsing operation withrespect to an XHTML/HTML file as a menu item to a menu configurationfile, wherein the XHTML/HTML file was selected as the target file viathe first user interface.
 18. The system as defined in claim 13, whereinthe program code is configured to detect if an operation control item,indicating that a “displaying HTTP address list” is to be added as amenu item, is selected, and if the operation control item is selected,display corresponding HTTP addresses in a menu configuration fileselected as the target file via the first user interface; and if theuser selects at least one item in the HTTP address list, then the Webaddress associated with this item is displayed via the input text field.19. The system as defined in claim 13, Wherein the first user interfaceis configured to receive from the user a selection of an activitysummary data repository for storing tracking information related to theuser invoking at least one operating system command and/or at least oneapplication program.
 20. The system as defined in claim 13, wherein theprogram code is configured to: provide a second user interface via whicha user can select a previously created template file that includeschangeable content, including changeable fields comprising at least afirst changeable field, and that includes non-changeable content; parsea structure of the template selected by the user and extractidentifications of the changeable fields and rules that specify datatypes in the changeable content; use such identifications as promptinglabels to dynamically generate an information exchange user interfacevia which the user can enter data for the changeable fields and/oraccess data for the changeable fields via the system through a batchprocess in which the user or system provides the data to a data file;and receive the data entry from the user and/or via the batch processand store the received data in computer readable memory.
 21. The systemas defined in claim 20, wherein the data file is accessed through aninput redirection facility from the operating system.